

<!DOCTYPE html> 
<html> 
  <head> 
    <meta charset="utf-8"> 
    <title>登录豆瓣</title> 
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1"> 
    <style type="text/css"> 
      body,h1,p { padding:0;margin:0; }
      body { font:normal 12px/1.4 arial,sans-serif;color:#333;background:#eaeff3; }
      em { font-style:normal; }
      p em { color:#188414; }
      a { text-decoration:none; }
      a:link { color:#369; }
      a:visited { color:#669; }
      a:hover { color:#fff;background:#039; }
      a:active { color:#fff;background:#f93; }
      .hd { padding:20px;border-top:30px solid #ebf5ea;background:#fff; }
      .bd { background:#fff; }
      .intro { padding:0 20px;margin-bottom:20px; }
      .item { padding-left:20px;margin-bottom:12px; }
      .item input { padding:5px;width:12em;font-size:14px;border:1px solid #ccc;-webkit-appearance:none;-webkit-border-radius:3px;border-radius:3px; }
      .item label { float:left;width:40px;line-height:2.8; }
      .item:after { content:'\0020';display:block;clear:both; } 
      .submit { padding-left:60px;margin-top:20px;background:#eaeff3;border-top:1px solid #d9e2e9;padding-top:20px;  }
      .submit input { padding:5px 20px;margin-right:20px;-webkit-appearance:none;font-size:13px;-webkit-border-radius:3px;border-radius:3px; }
      .submit input[type=submit] { background:#3da247;border:1px solid #538730;color:#fff;font-weight:800;  }
      .submit input[type=button] {
        border:1px solid #b0b0b0;
        background: -moz-linear-gradient(top, #fff 0%, #e2e2e2 100%); /* firefox */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#e2e2e2)); /* webkit */
        background: -o-linear-gradient(top, #fff 0%,#e2e2e2 100%); /* opera */
      }
        .logo { width:129px;height:25px;overflow:hidden;line-height:10em;background:url() no-repeat; }
        .accounts { color:#666;margin:0 0 60px 20px; }
        .error { padding-left:60px;margin-bottom:10px;color:#d92616; }
    </style> 
  </head> 
  <body> 
    <div class="wrapper"> 
      <div class="hd"> 
        <div class="logo">豆瓣</div> 
      </div> 
 
      <div class="bd"> 
      <p class="intro">
      第三方应用 <b>Douban Note</b> 请求连到你的豆瓣账号。
	<ul>
    
        <em><li>豆瓣公共api</li></em>
    
        <em><li>豆瓣社区日记功能</li></em>
    
        <em><li>豆瓣社区用户信息</li></em>
	</ul>
      </p>
      <p class="intro"><a href="http://developers.douban.com/wiki/?title=terms" target="_blank">豆瓣开放平台服务条款</a></p>
      <div class="error"></div>

    
    <form id="refuse_form" method="post" action="?client_id=09f9ec208d9a4d2c1dedc461a8cee784&amp;redirect_uri=http://www.doubannote.org/auth&amp;response_type=code&amp;scope=douban_basic_common,community_basic_note,community_basic_user">
        <input type="hidden" name="refuse" value="1">
    </form>

    <form method="post" action="?client_id=09f9ec208d9a4d2c1dedc461a8cee784&amp;redirect_uri=http://www.doubannote.org/auth&amp;response_type=code&amp;scope=douban_basic_common,community_basic_note,community_basic_user">
      <div class="item"> 
        <label for="inp-email">邮箱</label> 
        <input id="inp-email" name="user_email" type="email" size="24" maxlength="60" value=""> 
      </div> 
      <div class="item"> 
        <label for="inp-pwd">密码</label> 
        <input id="inp-pwd" name="user_passwd" type="password" size="10" maxlength="20" value=""> 
      </div> 
      <div class="item">没有豆瓣帐号？<a href="http://www.douban.com/accounts/register">注册豆瓣</a></div>
      <div class="submit"> 
        <input type="submit" name="confirm" value="授权"> 
        <input type="button" value="拒绝" onclick="javascript:document.forms['refuse_form'].submit();"> 
      </div> 
    </form> 
    </div>
  </div>
<script>var _check_hijack = function () {
            var _sig = "JrI8Np7B", _login = false, bid = get_cookie('bid');
            if (location.protocol != "file:" && (typeof(bid) != "string" && _login || typeof(bid) == "string" && bid.substring(0,8) != _sig)) {
                location.href+=(/\?/.test(location.href)?"&":"?") + "_r=" + Math.random().toString(16).substring(2);
            }};
            if (typeof(Do) != 'undefined') Do(_check_hijack);
            else if (typeof(get_cookie) != 'undefined') _check_hijack();
            </script></body>
</html>
